package com.base.server.file.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.base.server.file.pojo.FileInfo;

/**
 * file_info的Dao
 * @author autoCode
 * @date 2019-07-13 16:27:06
 * @version V1.0.0
 */
public interface FileInfoDao {

	public abstract void save(FileInfo fileInfo);

	public abstract void update(FileInfo fileInfo);

	public abstract void delete(@Param("fileId")String fileId);

	public abstract FileInfo get(@Param("fileId")String fileId);

	public abstract List<FileInfo> findFileInfo(FileInfo fileInfo);
	
	public abstract int findFileInfoCount(FileInfo fileInfo);

	public abstract FileInfo getByBrowseUrl(@Param("browseUrl")String browseUrl);
}